package cn.yo2.irain.log4money.app.item;

import cn.yo2.irain.log4money.app.user.UserLogin;

import java.util.Set;

public class Item  implements java.io.Serializable {

    // Fields    

	private String id;
	private String parentId;
	private String name;
	private Integer inout;
	private String ownUser;
	private Integer leaf;
    private String crtime;
    private String cruser;

    private Set<UserLogin> userLogins;

    // Constructors

    /** default constructor */
    public Item() {
    }

    
    /** full constructor */
//    public Item(Item parentItem, String itemName, String cruser, Date crtime, String inOut, Set childItems) {
//        this.parentItem = parentItem;
//        this.itemName = itemName;
//        this.cruser = cruser;
//        this.crtime = crtime;
//        this.inOut = inOut;
//        this.childItems = childItems;
//    }

   
    // Property accessors

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getInout() {
        return inout;
    }

    public void setInout(Integer inout) {
        this.inout = inout;
    }

    public String getOwnUser() {
        return ownUser;
    }

    public void setOwnUser(String ownUser) {
        this.ownUser = ownUser;
    }

    public Integer getLeaf() {
        return leaf;
    }

    public void setLeaf(Integer leaf) {
        this.leaf = leaf;
    }

    public String getCrtime() {
        return crtime;
    }

    public void setCrtime(String crtime) {
        this.crtime = crtime;
    }

    public String getCruser() {
        return cruser;
    }

    public void setCruser(String cruser) {
        this.cruser = cruser;
    }

    public Set<UserLogin> getUserLogins() {
        return userLogins;
    }

    public void setUserLogins(Set<UserLogin> userLogins) {
        this.userLogins = userLogins;
    }
}
